package com.cws4cloud.cws.mall.basic.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author zhulj
 * @date 2021-08-15 22:53:28
 */
@Data
@TableName("sd_sys_product_goods_photo")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
public class ProductGoodsPhoto extends Model<ProductGoodsPhoto> {
private static final long serialVersionUID = 1L;

    /**
     * 唯一编号
     */
    @TableId
    @ApiModelProperty(value="唯一编号")
    private Integer id;
    /**
     * 产品ID,关联：sd_sys_product.id
     */
    @ApiModelProperty(value="产品ID,关联：sd_sys_product.id")
    private Integer productId;
    /**
     * 商品编号,关联：sd_sys_goods.id
     */
    @ApiModelProperty(value="商品编号,关联：sd_sys_goods.id")
    private Integer goodsId;
    /**
     * 图片
     */
    @ApiModelProperty(value="图片")
    private String img;
    /**
     * 插入时间
     */
    @ApiModelProperty(value="插入时间")
    private LocalDateTime createDate;
    }
